<?php

class Module_Content extends Ingenii_Module {

	private $conn;
	
	public function __construct(Doctrine_Collection $parameters) {
		parent::__construct($parameters);
	}
	
	public function run() {
		$this->conn = Doctrine_Manager::getInstance()->getCurrentConnection();
		$content = ModuleContent::getById($this->parameters->id)->content;
		echo $content;
	}
}